//
//  DataBase.h
//  UILesson19_DataBase
//
//  Created by lanou3g on 15/11/9.
//  Copyright (c) 2015年 haiTeng. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ActivityModel.h"
@interface DataBase : NSObject


+ (DataBase *)shareDataBaseHandle;

//打开数据库
- (void)openDB;

//关闭数据库
- (void)closeDB;

//添加数据
- (void)insertActivity:(ActivityModel *)activity;

//删除数据
- (void)deleteActivity:(NSString *)activity;


//更新数据
- (void)updataActivity:(ActivityModel *)activity;

//查找数据
- (NSMutableArray *)selectStudent;

@end
